<?php
$this->placeholder("navegacion")->set($this->navegacion($this->nav));
?>
<div align="center">
<div style="width: 800px">
<?php
//$this->placeholder("navegacion")->set($this->navegacion($this->nav));

$perfil = App_Perfil::getInstance();
$perfil->cargar("ADMIN_PLANES1");
if (!$perfil->modificar()) {
    $this->form->makeStatic();
}

echo $this->form;
?>
</div>
</div>

<script type="text/javascript">
$(function() {
	
$( "#fechainicioplan" ).datepicker({
    onClose: function( selectedDate ) {
      $( "#fechafinplan" ).datepicker( "option", "minDate", selectedDate );
    }
  });

$( "#fechafinplan" ).datepicker({
    onClose: function( selectedDate ) {
      $( "#fechainicioplan" ).datepicker( "option", "maxDate", selectedDate );
    }
  });

});
	
</script>